New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

intel-hex

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

intel-hex

A JavaScript parser/writer for Intel HEX file format.

  • 0.1.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
498
decreased by-0.6%
Maintainers
1
Weekly downloads
 
Created
Source

intel-hex.js

A parser/writer for Intel HEX file format.

Usage

require("intel_hex").parse(data);

The parse function takes 2 arguments:

  • data - Intel Hex file (string in ASCII format or Buffer Object)
  • bufferSize - the size of the Buffer containing the data (optional)

and returns an Object with the following properties:

  • data - data as a Buffer Object, padded with 0xFF where data is empty.
  • startSegmentAddress - the address provided by the last start segment address record; null, if not given
  • startLinearAddress - the address provided by the last start linear address record; null, if not given

Special thanks to: http://en.wikipedia.org/wiki/Intel_HEX

Keywords

FAQs

Package last updated on 19 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc